home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianObjWindows.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  87 lines

  1. /*ScianObjWindow.h
  2.   External stuff for obj windows.
  3.   Eric Pepke
  4.   March 28, 1990
  5. */
  6.  
  7. /*Bits for stickiness*/
  8. #define STICKYRIGHT    1    /*Right side sticks to rel. posn. from right*/
  9. #define STICKYLEFT    2    /*Left side sticks to rel. posn. from left*/
  10. #define STICKYTOP    4    /*Top side sticks to rel. posn. from top*/
  11. #define STICKYBOTTOM    8    /*Bottom side sticks to rel. posn. from bottom*/
  12. #define FLOATINGRIGHT    16    /*Right side floats between right and left*/
  13. #define FLOATINGLEFT    32
  14. #define FLOATINGTOP    64
  15. #define FLOATINGBOTTOM    128
  16.  
  17. extern ObjPtr objWindowClass;
  18. extern ObjPtr dragBuffer;
  19. extern Bool showWindows;        /*Show subsequent windows*/
  20. extern Bool invalidFound;        /*True iff invalid was found*/
  21.  
  22. ObjPtr DeleteObject();
  23. ObjPtr NewControlWindow();
  24. ObjPtr PickUpObject();
  25.  
  26. void ToggleShowBounds();
  27. void DoSaveTemplate();
  28. void DoNewScreenSlider();
  29. void DoNewScreenScaleSlider();
  30. void DoNewScreenTitleBox();
  31. void DoNewScreenRadioButton();
  32. void DoNewScreenPlainButton();
  33. void DoNewScreenShortButton();
  34. void DoNewScreenCheckBox();
  35. void DoNewScreenTextBox();
  36. void DoNewScreenEditableTextBox();
  37.  
  38. #ifdef PROTO
  39. WinInfoPtr NewObjWindow(ObjPtr, char *, long, int, int, int, int);
  40. void DrawMe(ObjPtr);
  41. void DrawMeInBounds(ObjPtr, int, int, int, int);
  42. void ImInvalid(ObjPtr);
  43. void ExpandInvalid(ObjPtr);
  44. void ImInvalidBounds(ObjPtr, int, int, int, int);
  45. void PauseDrawing(Bool);
  46. void InitObjWindows(void);
  47. void KillObjWindows(void);
  48. void MakeMeCurrent(ObjPtr);
  49. Bool AmICurrent(ObjPtr);
  50. ObjPtr FindNamedObject(ObjPtr, char *);
  51. void DoDelete(void);
  52. Bool Get2DIntBounds(ObjPtr, int *, int *, int *, int *);
  53. Bool Set2DIntBounds(ObjPtr, int, int, int, int);
  54. void SetEndpoints(ObjPtr, int, int, int, int);
  55. void ForAllObjects(ObjPtr, FuncTyp);
  56. ObjPtr ObjectWhichRepresents(WinInfoPtr, ObjPtr);
  57. void InitPickUp(void);
  58. void InvalChangedAppearance(void);
  59. ObjPtr BoundsInvalid(ObjPtr, unsigned long);
  60. void DrawSkeleton(Bool);
  61. ObjPtr TurnDialObject(ObjPtr, int, real, long);
  62. #else
  63. WinInfoPtr NewObjWindow();
  64. void DrawMe();
  65. void DrawMeInBounds();
  66. void ImInvalid();
  67. void ExpandInvalid();
  68. void ImInvalidBounds();
  69. void PauseDrawing();
  70. void InitObjWindows();
  71. void KillObjWindows();
  72. void MakeMeCurrent();
  73. Bool AmICurrent();
  74. ObjPtr FindNamedObject();
  75. void DoDelete();
  76. Bool Get2DIntBounds();
  77. Bool Set2DIntBounds();
  78. void SetEndpoints();
  79. void ForAllObjects();
  80. ObjPtr ObjectWhichRepresents();
  81. void InitPickUp();
  82. void InvalChangedAppearance();
  83. ObjPtr BoundsInvalid();
  84. void DrawSkeleton();
  85. ObjPtr TurnDialObject();
  86. #endif
  87.